<div style="height:{{ photo_instance.sample_height }}px;">
    <a href="/rainbow/photoframe/{{ photo_instance.id }}/show">
        {% for image in photo_instance.photos.all %}
            <div>
                <img src="/static/rainbow/images/900/{{ image.image.uuid }}.jpeg" style="width:100%;"/>
            </div>
        {% endfor %}
    </a>
</div>